<?php
header('Content-type:text/json;char-set:utf-8;');
require_once("../lib/common.php");
$route=filter("func");
switch($route){
	case "about":
		about();
		break;
	case "editsub":
		editsub();
		break;
	default:
		break;
}
function about(){ 
	$data=F("setting");
	$data=(array)$data;
	echo json_encode($data,JSON_UNESCAPED_UNICODE);
}
function editsub(){
	$form=filter("form");
	$data=F("setting");
	$data->saveo("about",$form); 
	
	echo 11;
}

?>